import "reflect-metadata"
import { DataSource } from "typeorm"

export const AppDataSource = new DataSource({
  type: "sqlite",
  database: "lytech.sqlite",
  // 生产环境中请把synchronize设置为false
  synchronize: true,
  logging: true,
  // entities: [],
  // subscribers: [],
  // migrations: [],
})
